export function getArrayText (value: string, array: Array<any>) {
  const obj = array.filter(item => item.value === value)
  if (!obj || obj.length < 1) {
    return ''
  }
  return obj[0].label
}
